package com.oocl.multiple_threads_download.pojo;

public class DownloadParams {

	private int threadCount=10;///默认10
	private int bufLen = 10240;//默认10kb
	private long fileByteSize;
	private long avgReadCount;///前n个线程要做的次数
	private long restByteSize;
	private String targetFilePath;
	private String downloadPath;
	
	
	
	public long getAvgReadCount() {
		return avgReadCount;
	}
	public void setAvgReadCount(long avgReadCount) {
		this.avgReadCount = avgReadCount;
	}
	public long getRestByteSize() {
		return restByteSize;
	}
	public void setRestByteSize(long restByteSize) {
		this.restByteSize = restByteSize;
	}
	public int getThreadCount() {
		return threadCount;
	}
	public void setThreadCount(int threadCount) {
		this.threadCount = threadCount;
	}
	public int getBufLen() {
		return bufLen;
	}
	public void setBufLen(int bufLen) {
		this.bufLen = bufLen;
	}
	public long getFileByteSize() {
		return fileByteSize;
	}
	public void setFileByteSize(long fileByteSize) {
		this.fileByteSize = fileByteSize;
	}
	public String getTargetFilePath() {
		return targetFilePath;
	}
	public void setTargetFilePath(String targetFilePath) {
		this.targetFilePath = targetFilePath;
	}
	public String getDownloadPath() {
		return downloadPath;
	}
	public void setDownloadPath(String downloadPath) {
		this.downloadPath = downloadPath;
	}
	
	
	
}
